package com.flyme.module.exam.client.api;


import com.flyme.common.core.model.ResultBody;
import com.flyme.module.exam.client.entity.BusAbility;
import com.flyme.module.exam.client.entity.Exam;
import org.springframework.web.bind.annotation.*;

/**
 * @author zyf
 */
@RequestMapping("/abiltity")
public interface BusAbiltityRemoteService {

    /**
     * 获取测评信息
     *
     * @param id
     * @return
     */
    @GetMapping("/get/{id}")
    ResultBody get(@PathVariable Long id);

    /**
     * 更新测评信息
     *
     * @param ability
     * @return
     */
    @PostMapping("/update")
    ResultBody update(@ModelAttribute(value = "exam") BusAbility ability);

}
